|
|
|
|
|
|
|
Chapter 18
Higher-Dimensional Transformations |
|
|
|
|
|
|
|
|
A computer monitor has only two dimensions: width and height. It cannot directly display three-dimensional objects. Before you can view a picture of three-dimensional objects on your screen, you must transform the objects into a two-dimensional form. You can do this using one of the projection techniques described in Chapter 13, Three-Dimensional Transformations. These include orthographic, oblique, and perspective projection. You can also use the ray-tracing techniques described in Chapter 17, Ray Tracing, to calculate a projection for each of the pixels on the screen. |
|
|
|
|
|
|
|
|
Viewing higher-dimensional objects is the same in principle. Before you can view a four-dimensional object on your computer, you need to transform the four-dimensional information into a two-dimensional form. There are two main ways you can do this: temporal projection and spatial projection. |
|
|
|
|
|
|
|
|
You can remove one dimension from your data by converting it into a time dimension. First, create a series of images corresponding to different values for the dimension you want to remove. Then play the images back as an animation with the timing of the images replacing the removed dimension. |
|
|
|
|
|
|
|
|
For instance, suppose you have a mathematical model that described stock market prices as a function of two variables U and I representing the unemployment rate and the rate of inflation, respectively. This model would be a function of two dimensions: one representing unemployment rate and one representing inflation rate. You could use the techniques described in Chapter 14, Surfaces, to display the corresponding three-dimensional surface. |
|
|
|
|
|
|
|
|
Now suppose you have a more complicated model that predicts market prices in terms of unemployment rate, rate of inflation, and M, the number of months until the next presidential election. Now market price is a function of three dimensions. The surface |
|
|
|
|
|